Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

fix memory leak #280

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix memory leak #280

wants to merge 2 commits into from

Conversation

cotigao
Copy link

@cotigao cotigao commented Sep 29, 2020

free the memory allocated within
the function, before returning

free the memory allocated within
the function, before returning
@sachinpunadikar
Copy link
Contributor

@@ -193,6 +193,7 @@ static int setAttr()
for (i = 0; i < CALLS; i++)
free(xkey[i]);

free(v1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please work on indentation

Copy link
Contributor

@sachinpunadikar sachinpunadikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

work on indentation and signoff to the commit is needed

@stale
Copy link

stale bot commented Oct 16, 2020

This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @s-arya @sachinpunadikar for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants